/**
 * 20220119：finalized by jordia
 */

/**
 * 层次包围树节点
 * size:
 *      [
 *          aabbMinX,aabbMinY,aabbMinZ,              0
 *          aabbMaxX,aabbMaxY,aabbMaxZ,              3
 *      ]
 */
export default class BvhNode {
    constructor() {
        this._next = null;
        this._prevLeaf = null;
        this._nextLeaf = null;
        this._children = new Array(2);
        this._childIndex = 0;
        this._parent = null;
        this._height = 0;
        this._proxy = null;
        this.size=new Float64Array(6);
        this.tmp=new Float64Array(3);
    }

}